| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | import { MapConnData } from './../../data/savefile-expanded/fragments/MapConnData'; |
||
| 24 | |||
| 25 | @Component({ |
||
| 26 | selector: 'connection-item', |
||
| 27 | templateUrl: './connection-item.component.pug', |
||
| 28 | styleUrls: ['./connection-item.component.scss'], |
||
| 29 | providers: [ |
||
| 30 | { provide: NG_VALUE_ACCESSOR, useExisting: ConnectionItemComponent, multi: true } |
||
| 31 | ], |
||
| 32 | }) |
||
| 33 | export class ConnectionItemComponent extends ValueAccessorBase<string> implements OnInit { |
||
| 34 | |||
| 35 | constructor() { |
||
| 36 | super(); |
||
| 37 | } |
||
| 38 | |||
| 39 | ngOnInit() { |
||
| 40 | |||
| 41 | } |
||
| 42 | |||
| 43 | @Input() |
||
| 44 | public disabled: boolean = false; |
||
| 45 | |||
| 46 | @Input() |
||
| 47 | public data: any = new MapConnData(); |
||
| 48 | } |
||
| 49 |